<?php
abstract class TesteBase{
    const PASSOU = 'passou,';
    const NAO_PASSOU = 'naopassou,';
    
    const PASSOU_COMP = 'passou';
    const NAO_PASSOU_COMP = 'naopassou';
    protected function assertTrue($xValue) {
        if((bool)$xValue === true){
            echo self::PASSOU;
        } else {
            echo self::NAO_PASSOU;
        }
    }
    
    protected function assertFalse($xValue) {
        if((bool)$xValue === false){
            echo self::PASSOU;
        } else {
            echo self::NAO_PASSOU;
        }
    }
}